package com.lantu.draw.framework;

public class ErrorException extends RuntimeException {

	private static final long serialVersionUID = -4018860645372371857L;
	private String code;//操作码
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	private String hint;//用户提示信息
	public String getHint() {
		return hint;
	}

	public void setHint(String hint) {
		this.hint = hint;
	}

	public ErrorException(String code,String message,String hint) {
		new ErrorException(message);
		this.code=code;
		this.hint=hint;
	}

	public ErrorException() {
		super();
	}

	public ErrorException(String message, Throwable throwable) {
		super(message, throwable);
	}

	public ErrorException(Throwable throwable) {
		super(throwable);
	}

	public ErrorException(String message) {
		super(message);
	}
}
